export const columns = [
    {
        title: '姓名',
        dataIndex: 'realName',
        key: 'realName',
        align: 'left',
        scopedSlots: { customRender: 'realName' },
        width: '100px',
    },
    {
        title: '身份证号',
        dataIndex: 'idCard',
        key: 'idCard',
        align: 'center',
        width: '130px'
    },
    {
        title: '手机号',
        dataIndex: 'mobile',
        key: 'mobile',
        align: 'center',
        width: '110px',
    },
    {
        title: '收款账号',
        dataIndex: 'bankAccount',
        key: 'bankAccount',
        align: 'center',
        width: '140px'
    },
    {
        title: '签约时间',
        dataIndex: 'signTime',
        key: 'signTime',
        align: 'center',
        scopedSlots: { customRender: 'signTime' },
        sorter: (a, b) => a.signTime - b.signTime,
        sortDirections: ['descend', 'ascend'],
        width: '100px'
    },
    {
        title: '合同',
        dataIndex: 'contract',
        key: 'contract',
        scopedSlots: { customRender: 'contract' },
        align: 'center',
        width: '100px'
    },
    {
        title: '状态',
        dataIndex: 'state',
        key: 'state',
        align: 'center',
        scopedSlots: { customRender: 'state' },
        width: '100px'
    },
    {
        title: '操作',
        key: 'operation',
        dataIndex: 'operation',
        scopedSlots: { customRender: 'operation' },
        align: 'center',
        width: '120px',
    },
]